package com.ywjh.inter.entity;

import net.sf.json.JSONObject;

public class SportPlanItemTemplateEntity {
	private int id;
	private int sport_id;
	private String way;
	private String per;
	private int time;
	private int times;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSport_id() {
		return sport_id;
	}
	public void setSport_id(int sport_id) {
		this.sport_id = sport_id;
	}
	public String getWay() {
		return way;
	}
	public void setWay(String way) {
		this.way = way;
	}
	public String getPer() {
		return per;
	}
	public void setPer(String per) {
		this.per = per;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public JSONObject toJson() {
		JSONObject json=new JSONObject();
		json.put("id", this.id);
		json.put("sport_id", this.sport_id);
		json.put("way", this.way);
		json.put("per", this.per);
		json.put("time", this.time);
		json.put("times", this.times);
		return json;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
	
	
}
